//
//  ChangePhoneNumViewController.m
//  PPDL
//
//  Created by 王洋 on 2019/7/24.
//  Copyright © 2019 王洋. All rights reserved.
//

#import "UIButton+CountDown.h"
#import "ChangePhoneNumViewController.h"

@interface ChangePhoneNumViewController ()

@property (weak, nonatomic) IBOutlet UITextField *oldPhoneTF;

@property (weak, nonatomic) IBOutlet UIButton *V_CodeBtn;
@property (weak, nonatomic) IBOutlet UITextField *V_CodeTF;
@property (weak, nonatomic) IBOutlet UITextField *currentPhoneTF;

@end

@implementation ChangePhoneNumViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    [self initView];
}

- (void)initView {
    
    self.title = @"修改手机号码";
    
    [self.oldPhoneTF becomeFirstResponder];
    
    [self.V_CodeBtn pp_clipCorners:UIRectCornerAllCorners radius:6 border:1 color:PP_Default_Color_Red_FF3737];

}

- (IBAction)changePhoneClicked:(id)sender {
    

}

- (IBAction)getV_CodeClicked:(id)sender {
    
    [self.V_CodeBtn startWithTime:60 title:@"重新获取" countDownTitle:@"s" mainColor:PP_Default_Color_Red_FF3737 countColor:[UIColor whiteColor]];
}

@end
